package it.slothy.noveleditor.listener;

import java.util.EventObject;

public class FrameCloseEvent<T> extends EventObject {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	//Oggetto Salvato in FrameCloseEvent
	private T data;

	public FrameCloseEvent(Object arg0, T data) {
		super(arg0);
		
		this.setData(data);
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}

}
